import { AuthorInfo } from "./user";

export type DocInfo = {
  cover?: string;
  name: string;
  url: string;
  author: AuthorInfo;
  tags?: string[];
  source: string;
}

export class DocModel {
  private _list: DocInfo[] = [];

  get list(): DocInfo[] {
    return [
      {
        name: "uniapp打包小程序时，包体积变大突增",
        url: "https://blog.csdn.net/With__Hope/article/details/128855264",
        author: {
          name: "With Hope",
          url: "https://blog.csdn.net/With__Hope?type=blog",
          gethub: "https://github.com/joker-duzhong",
          getee: "https://gitee.com/duzhong-joker"
        },
        tags: ["uni-app", "小程序"],
        source: "CSDN"
      },
      {
        name: "uniapp打包小程序时，包体积变大突增",
        url: "https://blog.csdn.net/With__Hope/article/details/128855264",
        author: {
          name: "With Hope",
          url: "https://blog.csdn.net/With__Hope?type=blog",
          gethub: "https://github.com/joker-duzhong",
          getee: "https://gitee.com/duzhong-joker"
        },
        tags: ["uni-app", "小程序"],
        source: "CSDN"
      },
      {
        name: "uniapp打包小程序时，包体积变大突增",
        url: "https://blog.csdn.net/With__Hope/article/details/128855264",
        author: {
          name: "With Hope",
          url: "https://blog.csdn.net/With__Hope?type=blog",
          gethub: "https://github.com/joker-duzhong",
          getee: "https://gitee.com/duzhong-joker"
        },
        tags: ["uni-app", "小程序"],
        source: "CSDN"
      },
      {
        name: "uniapp打包小程序时，包体积变大突增",
        url: "https://blog.csdn.net/With__Hope/article/details/128855264",
        author: {
          name: "With Hope",
          url: "https://blog.csdn.net/With__Hope?type=blog",
          gethub: "https://github.com/joker-duzhong",
          getee: "https://gitee.com/duzhong-joker"
        },
        tags: ["uni-app", "小程序"],
        source: "CSDN"
      },
      {
        name: "uniapp打包小程序时，包体积变大突增",
        url: "https://blog.csdn.net/With__Hope/article/details/128855264",
        author: {
          name: "With Hope",
          url: "https://blog.csdn.net/With__Hope?type=blog",
          gethub: "https://github.com/joker-duzhong",
          getee: "https://gitee.com/duzhong-joker"
        },
        tags: ["uni-app", "小程序"],
        source: "CSDN"
      },
      {
        name: "uniapp打包小程序时，包体积变大突增",
        url: "https://blog.csdn.net/With__Hope/article/details/128855264",
        author: {
          name: "With Hope",
          url: "https://blog.csdn.net/With__Hope?type=blog",
          gethub: "https://github.com/joker-duzhong",
          getee: "https://gitee.com/duzhong-joker"
        },
        tags: ["uni-app", "小程序"],
        source: "CSDN"
      },
      {
        name: "uniapp打包小程序时，包体积变大突增",
        url: "https://blog.csdn.net/With__Hope/article/details/128855264",
        author: {
          name: "With Hope",
          url: "https://blog.csdn.net/With__Hope?type=blog",
          gethub: "https://github.com/joker-duzhong",
          getee: "https://gitee.com/duzhong-joker"
        },
        tags: ["uni-app", "小程序"],
        source: "CSDN"
      },
      {
        name: "uniapp打包小程序时，包体积变大突增",
        url: "https://blog.csdn.net/With__Hope/article/details/128855264",
        author: {
          name: "With Hope",
          url: "https://blog.csdn.net/With__Hope?type=blog",
          gethub: "https://github.com/joker-duzhong",
          getee: "https://gitee.com/duzhong-joker"
        },
        tags: ["uni-app", "小程序"],
        source: "CSDN"
      },
    ];
    return this._list;
  }
}